package com.one.group.model.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.Table;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: wanbo
 * @date: 2025/9/28 14:29
 */
@Data
@Table("sp_visitor")
public class Visitor implements Serializable {

    @Id
    private Long id;

    private String name;

    private Integer sex;

    @Column("card_id")
    private String cardId;

    private String image;

    private String phone;

    @Column(value = "cell_id")
    private Long cellId;

    @Column(value = "cell_building")
    private Long cellBuilding;

    @Column(value = "cell_unit")
    private Long cellUnit;

    @Column(value = "cell_house")
    private String cellHouse;

    @Column(value = "tenant_id")
    private Long tenantId;

    @Column(value = "create_time")
    private Date createTime;

    @Column(value = "update_time")
    private Date updateTime;

    @Column(value = "is_deleted")
    private Integer isDeleted;

}
